package midi;

public class Note {
	
	public final static int SILENT = -1;
	
	private int key;
	private int velocity;
	private int channel;
	private int length = SILENT;
	
	private int scrollPosition = 0;

	public int getScrollPosition() {
		return scrollPosition;
	}
	public void setScrollPosition(int scrollPosition) {
		this.scrollPosition = scrollPosition;
	}

	public int getKey() {
		return key;
	}
	public void setKey(int key) {
		this.key = key;
	}
		
	public int getLength() {
		return length;
	}
	public void setLength(int length) {
		this.length = length;
	}
	
	public int getVelocity() {
		return velocity;
	}
	public void setVelocity(int velocity) {
		this.velocity = velocity;
	}
	
	public int getChannel() {
		return channel;
	}
	public void setChannel(int channel) {
		this.channel = channel;
	}
	
	
}
